package org.dromara.system.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @TableName dish
 */
@TableName(value ="dish")
@Data
public class Dish implements Serializable {
    /**
     *
     */
    @TableId
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "名字")
    private String name;

    /**
     *
     */
    @ExcelProperty(value = "Id")

    private Long categoryId;
    @ExcelProperty(value = "开始")

    private Date startTime;
    @ExcelProperty(value = "结束")

    private Date endTime;

    /**
     *
     */

    @ExcelProperty(value = "价格")

    private BigDecimal price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
